package com.scau402.system1.repository;

import com.scau402.system1.domain.dto.WmsStopCheckDTO;
import com.scau402.system1.domain.po.WmsAuditOrderPO;
import com.scau402.system1.domain.po.WmsCheckboundJadeDetailPO;
import com.scau402.system1.domain.vo.WmsCheckBoundJadeDetailVO;

import java.util.List;

/**
 * 盘点单翡翠详情Repository
 * @since 2024/2/3
 */
public interface IWmsCheckJadeDetailRepository {
    void saveList(List<WmsCheckboundJadeDetailPO> jadeDetailPOList);

    void update(WmsCheckboundJadeDetailPO jadeDetail, String barcode, Long checkOrderId);

    WmsCheckboundJadeDetailPO findJadeByBarcodeAndOrderId(String barcode, Long checkOrderId);

    List<WmsCheckboundJadeDetailPO> findNumListByCheckOrderId(Long checkOrderId);

    List<WmsCheckBoundJadeDetailVO> findListByCheckOrderId(Long checkOrderId);

    void stopCheck(WmsStopCheckDTO dto);
}
